<?php

/**
* @version      $Id: default.php 31 2007-09-26 19:24:26Z spook.68 $
* @package      Joomla!
* @subpackage   68portal
* @license      GNU/GPL
**/

defined( '_JEXEC' ) or die('Restricted access');
?>

<div class="search">
	<?php if ( $this->params->get( 'show_page_title' ) ) : ?>
	<h1 class="componentheading<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
		<?php echo $this->params->get( 'page_title' ); ?>
	</h1>
	<?php endif; ?>

	<?php echo $this->loadTemplate('form'); ?>
	<?php if(!$this->error && count($this->results) > 0) :
		echo $this->loadTemplate('results');
	else :
		echo $this->loadTemplate('error');
	endif; ?>
</div>